import request from '../utils/request'

// 授权登陆(POST) 
export function API_ME_LOGIN(params) {
  return request({
    url: '/me/login',
    data: params,
  })
}

// Banner列表(POST) 
export function API_BANNER_LIST(params) {
  return request({
    url: '/goto/bananalist',
    data: params,
  })
}

// 获取用户数据(POST) 
export function API_USERINFO_LIST(params) {
  return request({
    url: '/goto/userInformationlist',
    data: params,
  })
}

// 还未绑定人员信息点击绑定信息(POST) 
export function API_WENGANYUNUSER_LIST(params) {
  return request({
    url: '/goto/wenganyunuserlist',
    data: params,
  })
}

// 选择绑定对应的系统后点击确认绑定按钮执行方法(POST)  
export function API_BINDING_PERSONNEL(params) {
  return request({
    url: '/binding/personnel',
    data: params,
  })
}

// 信息确认完点击确认绑定按钮执行方法(POST) 
export function API_CONFIRM_BINDING_PERSONNEL(params) {
  return request({
    url: '/confirm/binding/personnel',
    data: params,
  })
}

// 小程序首页点击绑定体温贴执行接口方法(POST) 
export function API_CONFIRM_BINDING_PASTE(params) {
  return request({
    url: '/confirm/temperature/paste',
    data: params,
  })
}

// 点击解绑体温贴执行方法(POST) 
export function API_CONFIRM_UNBINDING_PASTE(params) {
  return request({
    url: '/confirm/temperature/unbundling',
    data: params,
  })
}

// 上传最新温度(POST) 
export function API_TEMPERATURE_SAVEORUPDATE(params) {
  return request({
    url: '/temperature/saveorupdate',
    data: params,
  })
}

// 最新温度列表展示(POST) 
export function API_TEMPERATURE_GETLIST(params) {
  return request({
    url: '/temperature/getlist',
    data: params,
  })
}

// 游客解除与当前微信的绑定 
export function API_TOURIST_TUBNBUNDLING(params) {
  return request({
    url: '/touris/tunbundling',
    data: params,
  })
}